<?xml version="1.0" encoding="UTF-8" ?>

<ui:composition template="framework.xhtml" 
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://jrove.skatiger.org/ui"
    xmlns:c="http://jrove.skatiger.org/core"
    xmlns:form="http://jrove.skatiger.org/spring/form"
    xmlns:spring="http://jrove.skatiger.org/spring"
    xmlns:h="http://jrove.skatiger.org/html">
    <ui:define name="right">
        <spring:url value="/person/{ss43}" var="url">
            <spring:param name="ss43" value="55" />
        </spring:url>
		#{url}
		<br />
		sysout1
		<br />
        <h:dataTable items="#{_losteds}" rowClasses="odd, even" var="lost" varStatus="_status">
            <h:column headerClass="no">
                <c:facet name="header">No.</c:facet>
                #{_status.index}
            </h:column>
            <h:column headerClass="name">
                <c:facet name="header">Name</c:facet>
               #{lost.name}
            </h:column>
            <h:column headerClass="string">
                <c:facet name="header">To String</c:facet>
                #{lost.ordinal},#{lost.name}
            </h:column>
        </h:dataTable>

        <form:form action="#{request.contextPath}/person" modelAttribute="person" method="POST">
			NickName:<form:input path="nickname" cssClass="input" errorCssClass="error" />
            <br />
			Name:<form:input path="name" cssClass="input" errorCssClass="error" />
            <br />
			Email:<form:input path="email" cssClass="input" errorCssClass="error" />
            <br />
			Gender:<form:select path="gender" cssClass="input" errorCssClass="error">
                <form:options>
                    <c:facet name="label">#{item.case}</c:facet>
                </form:options>
            </form:select>
            <br />
            chpwd:<form:checkbox path="chpwd" cssClass="input" errorCssClass="error" />
            <br />
            chpwd2:<form:radioButton path="chpwd2" value="true" cssClass="input" errorCssClass="error" />yes
                
                   <form:radioButton path="chpwd2" value="false" cssClass="input" errorCssClass="error" />no
            <br />
            losted:<form:radioButtons path="losted" />
            <br />
            losted2:<form:checkboxes path="losted2" />
            <br />
            <input type="submit" />
        </form:form>
    </ui:define>
</ui:composition>


